<script>
function abc(){
 var name=document.getElementById('search_key');
 name.className="ipt12";
}
function cc(x){
 var name=document.getElementById("con_five_"+x);
 var list=document.getElementById("five"+x);
 name.style.display="none";
 list.className="";
}
function setTab(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var con=document.getElementById("con_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  con.style.display=i==cursel?"block":"none";
 }
}

   function checklogin(form)
   {
   		if(form.user_name.value==""){
		  alert("请输入用户名！");
		  form.user_name.focus();
		  return(false);
		}
		if(form.password.value==""){
		  alert("请输入密码！");
		  form.password.focus();
		  return(false);
		}
       form.password.value=$.md5(form.password.value);
       /*if(form.yzm.value==""){
		  alert("请输入验证码！");
		  form.yzm.focus();
		  return(false);
		}*/
   }
</script>
<style type="text/css">.h2{height:50px;text-align:center;font-size:16px;font-family:'黑体','宋体';font-weight:normal;line-height:50px;}</style>
  <div class="main">
    <?php @include_component("system","menuNavigator",array("type"=>5,"cssStr"=>"address_tit2")) ;?>
       <div class="reg">
         <h2 class="h2"><span>ieasy.tv</span> 登陆</h2>
         <div class="reg_sm">

            <p>尊敬的用户，您好！</p>           <p>请在下方填写您的用户名即注册时填写的邮箱，如果您忘记了注册时填写的邮箱，请及时联系我们。</p>
         </div>

  

         <form method="post" action="<?php echo url_for('user/resultpage') ?>" onsubmit="return checklogin(this);" id="form" name="form" >
         <div class="reg_box">
           <ul>
              <li style="padding-left:220px;"><b>登录帐号：</b><input type="text" class="ipt211" id="user_name"  name="user_name" ></li>
              <li style="padding-left:220px;"><b>登录密码：</b><input type="password" class="ipt211" id="password_id"  name="password" ></li>
              <input type="lable" name="lable" value="1" style="DISPLAY: none" >
          </ul>
		  <div class="submit">　&nbsp;<input name="a1" class="sear01" type="submit" value="登陆" />　　<input name="a2" class="sear01" type="reset" value="重&nbsp;置" />　　
              <input name="a2" class="sear01" type="button" onclick="window.location.href='<?php echo url_for("user/register"); ?>';" value="马上注册" /></div>
         </div>

       </form>
       </div>
       
 </div>


